/**
 *
 * Copyright (C) 2002-2012 "SYSNET International, Inc."
 * support@sysnetint.com [http://www.sysnetint.com]
 *
 * This file is part of OpenEMPI.
 *
 * OpenEMPI is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package org.openempi.webapp.client.domain;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * 
 * Domain objects (under client package) can be used on the server and in the web app
 *
 */
//use IsSerializable instead Serializable to avoid problems running on linux
public class Candidate implements IsSerializable {
	
    private String name; 
    private int age;
    
	public Candidate(String name, int age) {
		this.name=name;
		this.age=age;
	}
	
	/**
	 * Needs an empty constructor to be serializable
	 */
	public Candidate() {
		super();
	}


	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
}
